<style>
    body{
        background-color: #f9f9f9;
    }
    .xh-form .btn{
        margin-right: 0px;
    }
    .textbox-text .textbox-prompt{
        color: white;
    }
    .form-control[readonly]{
        background-color: white;
    }
    .tree-folder{
        clear: both;
        background: none;
    }
    .tree-folder-open{
        clear: both;
        background: none;
    }
    .fa{
        margin-top: 3px;
    }
    .tree-file{
        clear: both;
        background: none;
    }
    .combo{
        border-radius:4px
    }

</style>
<script>
    {% if nodeData!='' %}
        var nodeData={{ nodeData }}
    {% endif %}
</script>
<form id="xh_form" class="xh-form"  method="post"    style="margin-left: 20px;">
    <div class="xh-area-form">
        <table style="width: 100%">

            <tr>

                <td style="width: 75px"><label>名称:</label></td>
                <td style="width: 200px"><input  name="sNodeName" type="text" must="true" style="width: 170px" ></td>

                <td style="width: 75px" style="width: 90px"><label>模板类型:</label></td>
                <td style="width: 200px"><input  value="{{ templateType }}" type="text"  style="width: 170px" readonly></td>
                <td style="display: none"><input  name="iNodeId" type="text" style="display: none"></td>
                <td style="display: none"><input  name="iTPId" type="text" style="display: none"></td>
            </tr>
            <tr>
                <td style="width: 74px;"><label>执行部门:</label></td>
                <td>
                    <select id="cc1" class="easyui-combotree"  style="width: 170px;height: 34px "
                            data-options="url:'{{ url("bpm/template/getDepEnum") }}',
                                          required:false, cascadeCheck:false,">
                    </select>
                    <input name="sExcuteDeps" style="display: none">
                </td>
                <td style="width: 74px;"><label>执行负责人:</label></td>
                <td>
                    <select id="cc2" class="easyui-combotree" style="width: 170px;height: 34px "
                            data-options="url:'{{ url("bpm/template/getDepStaffEnum") }}',
                                          required:false, cascadeCheck:false,">
                    </select>
                    <input name="sExcuteIds" style="display: none">
                </td>
            </tr>
            <tr>
                <td style="width: 74px;"><label>相关部门:</label></td>
                <td>
                    <select id="cc3" class="easyui-combotree"  multiple="multiple" style="width: 170px;height: 34px "
                            data-options="url:'{{ url("bpm/template/getDepEnum") }}',
                                          required:false,multiple: true, cascadeCheck:false,">
                    </select>
                    <input name="sRelatDeps" style="display: none">
                </td>
                <td style="width: 74px;"><label>相关负责人:</label></td>
                <td>
                    <select id="cc4" class="easyui-combotree"  style="width: 170px;height: 34px "
                            data-options="url:'{{ url("bpm/template/getDepStaffEnum") }}',
                                          required:false,multiple: true, cascadeCheck:false,">
                    </select>
                    <input name="sRelatIds" style="display: none">
                </td>
            </tr>
            <tr>
                <td style="width: 74px;"><label>排序:</label></td>
                <td>
                    <input name="iSort" type="text" style="width:170px;">
                </td>

            </tr>
            <tr>
                <td style="width: 74px;"><label>备注:</label></td>
                <td colspan="3">
                    <textarea name="mDesc" rows="3" wrap="soft"></textarea>
                </td>
            </tr>
        </table>
    </div>
    <div class="xh-area-button" style="padding-left: 75px;background-color: inherit">
        {% if FormButton is defined %}{{ FormButton }}{% endif %}
    </div>
</form>